dojo.declare("DVendorHomePg", wm.Page, {
start: function() {
},
"preferredDevice": "desktop",
labelTodaysOrderClick1: function(inSender, inEvent) {
this.labelSelectHighlight("label");
var vendorPg = wm.Page.getPage("DVendorOrderCurrentPg");
if (vendorPg) {
vendorPg.svVendorCurrentOrders.update();
}
},
labelSelectHighlight: function(labelClicked) {
dojo.addClass(this.labelTodaysOrder.domNode, "red");
//  this.labelTodaysOrder.domNode.style.color = "red";
// this.labelTodaysOrder.classes="wmbreadcrumblayers-tab wmbreadcrumblayers-selected";
// dojo.removeClass(this.labelTodaysOrder.domNode, "wmbreadcrumblayers-tab");
// dojo.addClass(this.labelTodaysOrder.domNode, "wmbreadcrumblayers-tab wmbreadcrumblayers-selected");
},
labelAllOrdersClick1: function(inSender, inEvent) {
var vendorPg = wm.Page.getPage("DVendorOrderHistoryPg");
if (vendorPg) {
vendorPg.lvMyOrders.update();
}
},
labelProductCatalogClick1: function(inSender, inEvent) {
var vendorPg = wm.Page.getPage("DVendorOrderHistoryPg");
if (vendorPg) {
vendorPg.lvMyOrders.update();
}
},
_end: 0
});

DVendorHomePg.widgets = {
layoutBox: ["wm.Layout", {"horizontalAlign":"left","styles":{"backgroundImage":"resources/images/mobile/background_m.jpg"},"verticalAlign":"top"}, {}, {
panel1: ["wm.EmphasizedContentPanel", {"border":"0,0,1,0","height":"31px","horizontalAlign":"left","layoutKind":"left-to-right","styles":{"backgroundColor":"#72cde9"},"verticalAlign":"top","width":"100%"}, {}, {
labelTodaysOrder: ["wm.Label", {"align":"center","caption":"Today's Order","display":"Link","height":"28px","link":undefined,"padding":"4","width":"130px"}, {"onclick":"layerOrderToday","onclick1":"labelTodaysOrderClick1"}, {
format: ["wm.LinkFormatter", {"link":"#"}, {}]
}],
labelAllOrders: ["wm.Label", {"align":"left","caption":"All Order List","display":"Link","height":"28px","link":undefined,"padding":"4","styles":{},"width":"113px"}, {"onclick":"layerAllOrderList","onclick1":"labelAllOrdersClick1"}, {
format: ["wm.LinkFormatter", {"link":"#"}, {}]
}],
labelProductCatalog: ["wm.Label", {"align":"left","caption":"Product Catalog","display":"Link","height":"28px","link":undefined,"padding":"4","width":"138px"}, {"onclick":"layerMenuItems","onclick1":"labelProductCatalogClick1"}, {
format: ["wm.LinkFormatter", {"link":"#"}, {}]
}],
labelAccountUpdate: ["wm.Label", {"align":"left","caption":"Account Details","display":"Link","height":"28px","link":undefined,"padding":"4","width":"133px"}, {"onclick":"layerMyAccount"}, {
format: ["wm.LinkFormatter", {"link":"#"}, {}]
}],
labelAccountReports: ["wm.Label", {"align":"left","caption":"Reports","display":"Link","height":"28px","link":undefined,"padding":"4","width":"130px"}, {"onclick":"layerMyReports"}, {
format: ["wm.LinkFormatter", {"link":"#"}, {}]
}]
}],
breadcrumbLayers1: ["wm.Layers", {"border":"0,0,1,0","borderColor":"#888888","defaultLayer":0}, {}, {
layerOrderToday: ["wm.Layer", {"borderColor":"","caption":"Today's Orders","horizontalAlign":"left","themeStyleType":"ContentPanel","verticalAlign":"top"}, {}, {
pageContainer1: ["wm.PageContainer", {"deferLoad":true,"pageName":"DVendorOrderCurrentPg","styles":{},"subpageEventlist":{},"subpageMethodlist":{},"subpageProplist":{}}, {}]
}],
layerAllOrderList: ["wm.Layer", {"autoScroll":true,"borderColor":"","caption":"All Orders","horizontalAlign":"left","themeStyleType":"ContentPanel","verticalAlign":"top"}, {}, {
pageContainer2: ["wm.PageContainer", {"deferLoad":true,"pageName":"DVendorOrderHistoryPg","subpageEventlist":{},"subpageMethodlist":{},"subpageProplist":{}}, {}]
}],
layerMenuItems: ["wm.Layer", {"borderColor":"","caption":"Product Catalog ","horizontalAlign":"left","themeStyleType":"ContentPanel","verticalAlign":"top"}, {}, {
pageContainer3: ["wm.PageContainer", {"deferLoad":true,"pageName":"DVendorItemProductCatalogPg","subpageEventlist":{},"subpageMethodlist":{},"subpageProplist":{}}, {}]
}],
layerMyAccount: ["wm.Layer", {"borderColor":"","caption":"layer1","horizontalAlign":"left","themeStyleType":"ContentPanel","verticalAlign":"top"}, {}, {
panelServicesList2: ["wm.Panel", {"height":"100%","horizontalAlign":"center","layoutKind":"left-to-right","verticalAlign":"top","width":"100%"}, {}, {
pageContainer4: ["wm.PageContainer", {"deferLoad":true,"pageName":"DVendorAccountNewPg","subpageEventlist":{},"subpageMethodlist":{},"subpageProplist":{}}, {}]
}]
}],
layerMyReports: ["wm.Layer", {"borderColor":"","caption":"layerMyReports","horizontalAlign":"left","layoutKind":"left-to-right","themeStyleType":"ContentPanel","verticalAlign":"top"}, {}, {
panel2: ["wm.Panel", {"height":"100%","horizontalAlign":"left","verticalAlign":"top","width":"100%"}, {}, {
pageContainer5: ["wm.PageContainer", {"deferLoad":true,"pageName":"DVendorReportsHomePg","subpageEventlist":{},"subpageMethodlist":{},"subpageProplist":{}}, {}]
}]
}]
}]
}]
};

DVendorHomePg.prototype._cssText = '';
DVendorHomePg.prototype._htmlText = '';